package request

type ShopAdd struct {
	Name  string `json:"name" form:"name" binding:"required"`
	Image string `json:"image" form:"image" binding:"required"`
	Info  string `json:"info" form:"info" binding:"required"`
}

type ShopUpdate struct {
	Id    int64  `form:"id" json:"id" binding:"required"`
	Name  string `json:"name" form:"name" binding:"required"`
	Image string `json:"image" form:"image" binding:"required"`
	Info  string `json:"info" form:"info" binding:"required"`
}

type ShopRemove struct {
	Id int64 `form:"id" json:"id" binding:"required"`
}

type ShopList struct {
	Id     int64  `form:"id" json:"id"`
	Name   string `form:"name" json:"name" `
	UserId int64  `form:"user_id" json:"user_id"`
}

type ShopPage struct {
	Id       int64  `form:"id" json:"id"`
	UserId   int64  `form:"user_id" json:"user_id"`
	Page     int64  `form:"page" json:"page" `
	PageSize int64  `form:"page_size" json:"page_size"`
	Name     string `form:"name" json:"name"`
}
